find_package(Freetype REQUIRED)

add_executable(ShowFont show_font.cpp)

target_link_libraries(
    ShowFont
    PRIVATE PkgConfig::SDL2 PkgConfig::SDL2_ttf Freetype::Freetype
)

target_compile_features(
    ShowFont
    PRIVATE cxx_std_17
)


add_executable(FontEditor font_editor.cpp)

target_link_libraries(
    FontEditor
    PRIVATE PkgConfig::SDL2
)

target_compile_features(
    FontEditor
    PRIVATE cxx_std_17
)

add_subdirectory(GuiEditor)
